Transfer local files to ftp through javascript
-
Is there a way to transfer local files to a ftp server using javascript? I've tried using the FileSystemObject's File.Copy method, but it does not recognize the ftp path, i.e ftp://example. thx
-
Is there a way to transfer local files to a ftp server using javascript? I've tried using the FileSystemObject's File.Copy method, but it does not recognize the ftp path, i.e ftp://example. thx
That is because the FTP adress is not a file path. The only way to send a file to an FTP server is using FTP. Have a look at the FTP console program. You can put commands for it in a text file and start it with the file name as a parameter. --- b { font-weight: normal; }
-
Is there a way to transfer local files to a ftp server using javascript? I've tried using the FileSystemObject's File.Copy method, but it does not recognize the ftp path, i.e ftp://example. thx
I don't think FileSystemObject can access FTP. You can try using some FTP ActiveX Control for that. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://www.dotnetjunkies.com/weblog/deepak/
http://deepakvasudevan.blogspot.com/
http://deepak.blogdrive.com/ -
Is there a way to transfer local files to a ftp server using javascript? I've tried using the FileSystemObject's File.Copy method, but it does not recognize the ftp path, i.e ftp://example. thx