PDA

View Full Version : How to remote upload from http to ftp?


rayman3003
03-14-2016, 12:03 AM
Hi
I want to remote upload a http link (fore example: http://www.polyglot3000.com/download/poly3000.x32.exe) to my ftp server.
I don't want to download the file to my local store first and then upload it to ftp. I want to remote upload it directly to ftp.
How can I do this? Is there any commands for this?

bigstar
03-14-2016, 11:00 AM
Most standard FTP servers are not capable of downloading a file via the HTTP protocol.

If you were connecting to the server over SFTP and had shell access to wget you could do something like this directly from within FlashFXP

Main menu > Commands > Raw Command

/shell wget http://www.polyglot3000.com/download/poly3000.x32.exe
Then in the status window you'd see the result of the command

[10:59:26] [R] [CMD] wget http://www.polyglot3000.com/download/poly3000.x32.exe
[10:59:26] [R] [shell] Open
--2016-03-14 11:59:27-- http://www.polyglot3000.com/download/poly3000.x32.exewww.polyglot3000.com/download/poly3000.x32.exe
Resolving www.polyglot3000.com (www.polyglot3000.com)... 208.76.80.226
Connecting to www.polyglot3000.com (www.polyglot3000.com)|208.76.80.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2782377 (2.7M) [application/octet-stream]
Saving to: 'poly3000.x32.exe'
2016-03-14 11:59:32 (566 KB/s) - 'poly3000.x32.exe' saved [2782377/2782377]
[10:59:31] [R] [shell] Close

rayman3003
03-14-2016, 11:13 AM
Thank u but it seems my server doesn't support wget. :(
It gives this error:

Command not supported: /shell wget http://www.polyglot3000.com/download/poly3000.x32.exe