FTP

151

Solutions

293

Contributors

The File Transfer Program (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. Built on a client-server model architecture, it separates control and data connections between the client and the server. Users may access the server through a sign-in protocol, typically in the form of a username and password.

Share tech news, updates, or what's on your mind.

Sign up to Post

I know very little about websites / web site management.

I used to use FrontPage to publish rudimentary websites and to back them up / copy them onto my PC to back them up.

I need to move a website from 1 server to another.  What's an easy (free) app to use these days? Hopefully graphic / GUI not command line.

I set up an FTP account for the server where the files are now. And know the credentials for the new server.
0
Webinar: Miercom Evaluates Wi-Fi Security
Webinar: Miercom Evaluates Wi-Fi Security

It's not just about Wi-Fi connectivity anymore. A wireless security breach can cost your business large amounts of time, trouble, and expense. Plus, hear first-hand from Miercom how WatchGuard's Wi-Fi security stacks up against the competition in our upcoming webinar!

i am new to the powershell scripting and at learnig stage.
i have scripts it works (experts helped me move on further)....it checks for file, upload the file in ftp.
i have written function to send email when process complete and also capture the errors and send email error alert.
i noticed the status email works with sending attacment and failure email alerts just capturing ERROR word but not sending email alert...
Like to request for help..
I want email alerts to come body message to have errors captured ? or if possible the log file context to write in the email body.
Also like to check what more parameters to set so that we get errors alerts in the log...for timeout ,username password wrong etc...Modify_Script.ps1Modify_Script.ps1



#Requires -version 3.0
$WarningPreference="Continue"

#variables
$ScriptPath = $(Split-Path -Parent $MyInvocation.MyCommand.Definition)

# Load WinSCP .NET assembly
[Reflection.Assembly]::LoadFrom( $(Join-Path $ScriptPath "WinSCPnet.dll") ) | Out-Null

#Log Timestamp
$date=Get-Date -Format ddMMMyyyyHHmmss
$logdate=Get-Date -Format ddMMMyyyy_HHmmss
$emaildate=Get-Date -Format dd/MM/yyyy_HH:mm:ss
$Logfile = "E:\INT\Log\Daily_$logdate.txt"

function LogWrite ([string]$logstring)
{  
   Add-content $Logfile -value $logstring
}
LogWrite ("$( Get-Date -Format "yyyy-MM-dd HH:mm:ss" ) START:`t"+"File Processing BEGIN`n")

#Zip Files and move to backup folder
$sourcefolder="E:\INT\PUT"
0
Hello Experts-I'm running with an issue. I have created a FTP file server on my local system on WIN10. I've a static IP address & am able to access & see the files from any outside IP through a web browser. But when I try accessing the FTP folder from an outside IP/network through file explorer, I get an error message as stated below.-

The folder 'ftp://49.206.199.25/' is read-only because the proxy server is not set up to allow full access. To move, paste, rename, or delete files, you must use a different proxy. For information on changing your proxy, contact your administrator.'

I read several online posts & found the solutions but they never worked for me. I disabled the windows firewall but still I'm seeing the same issue, I did the setting in "internet options-FTP folder view" but this also did not help.

Can anyone help please.
0
Hello

I'm having an issue with setting up an IIS FTP server (on a 2008R2 box). I have succeeded in setting up the server, users, publish the directory, setup NAT on the firewall. Things are looking pretty much ok but I am struggling at this point:

 220 Microsoft FTP Service
AUTH TLS
234 AUTH command ok. Expecting TLS Negotiation.
USER username
331 Password required for username.
PASS *****************
230 User logged in.
PBSZ 0
200 PBSZ command successful.
PROT P
200 PROT command successful.
FEAT
211-Extended features supported:
 LANG EN*
 UTF8
 AUTH TLS;TLS-C;SSL;TLS-P;
 PBSZ
 PROT C;P;
 CCC
 HOST
 SIZE
 MDTM
 REST STREAM
211 END
OPTS UTF8 ON
200 OPTS UTF8 command successful - UTF8 encoding now ON.
SYST
215 Windows_NT
PWD
257 "/" is current directory.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PORT 172,16,101,102,208,219
501 Server cannot accept argument.
CWD /
250 CWD command successful.
TYPE A
200 Type set to A.
PORT 172,16,101,102,208,222
501 Server cannot accept argument.

Open in new window


I guess this is somehow linked to passive FTP mode but
  • it happens even if I explicitly request active mode only
  • I have defined the passive ports in the "FTP firewall support" tab and NAT-ed them to the correct internal IP
  • this works fine if connecting locally (localhost) but not from LAN no WAN

I'm sure it is a "classic" one (seeing lots of post googling this) but can't really figure it out.

Any advice most appreciated
1
I've set up FTP on Server 2012 Standard, I'm accessing with a local user account and can log in fine but cannot see any of the files. Local user used has full permissions on the FTP folder, has to be something simple I'm not thinking of.

Connecting from Mac to local IP (opens an Empty folder)

Connecting locally from explorer (200 type set to A / 227 Entering Passive Mode ("public IP",232,79)
0
We're having issues with ftp.exe on Windows 2016 servers located in Azure. Connecting to a FTP server using for instance explorer or ncftp works fine but when we do it using ftp.exe we can connect and then get instantly disconnected when for instance sending the ls command. We've tested on Windows 2016 servers not located in Azure and then everything works fine. We are not blocking any outbound connections from the VM to the internet.

Has anyone seen this issue before and can help us resolve it?
0
linux shared server
want to have one version (non www) of small one page website

I have ftp access.

is this something I can do in root folder
0
I'm having trouble with an Expect script on Red Hat Enterprise Server 6.10.  I would think that the script below would spawn SFTP, then send the password.  I'm getting a Password error, which I am guessing is due to lots of escapable characters.

The script below gets me a "permission denied" error.  My password ( I changed some characters) is something like  r10@4g@$^#a&r*a^^$%  .  I have tried escaping the 'special' characters with \ and also tried escaping every character (so it looks like \r\1\0\@\4\g\@\$\^\#\a\&\r\*\a\^\^\$\%).  When I manually connect to the site and manually enter a password it works fine.

Can someone tell me what I might be missing?

Thanks for any advice you can provide,

-Dan

#!/usr/bin/expect
spawn sftp username@ftpprd.host.com
expect "username\@ftpprd.host.com\'s password: "
send "r10@4g@$^#a&r*a^^$%\n"


T
0
Hi Experts

I setup a basic ftp server on Windows 2016 server.  I can use ftp clients to download files from the server.  But I can't download any when I use any of browsers.  I can browse the ftp folder and  there is no download option to choose.

Please advise and thank you very much in advance,

EN
0
Similar to Guilt FTP…Looking for another Server

We have used GuiltFTP which is a very tiny exe to act as FTP server locally...

Currently it is not working in our machine..

Is any free open FTP servers which is very small to be installed and run in local machine for FTP testing?

Thanks.
0
10 Tips to Protect Your Business from Ransomware
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

I need to run the scheduler (Built in)
Copy file from my source
to
My local folder
Ever 60 minutes

AFTER that process...
I need to delete the file off the source folder

When IPSWITCH ws-ftp does a scheduler transfer
Is that a COPY
or a MOVE?
0
I had this question after viewing How to connect to multiple parallel SFTP using JSCH?.

Is it possible to have multiple SFTP connections for the same host,username and port??
0
I need to be able to host files(images in this case) on a server, to be read by my ecommerce website.

I would like to be able to control the names of the files and folders.  For instance, I might want to call the image http://www.hostingsite.com/project1/images/book_cover.jpg

An added bonus would be if I could map a local drive letter, like "X:\" to my hosted folder.  I usually use a combination of FTP and Webdrive to achieve this.
0
Dear Experts,

I am having trouble with an FTP site that we need.

We have a Meraki firewall that is port forwarding to an internet FTP server.  

The remote sessions for the clients need to be done in an active mode, not passive mode.

I m testing with a client FileZilla:

Status:      Logged in
Status:      Retrieving directory listing...
Status:      Server sent passive reply with unroutable address. Using server address instead.
Command:      MLSD
Error:      Connection timed out after 20 seconds of inactivity
Error:      Failed to retrieve directory listing
Status:      Disconnected from server
Status:      Connecting to 75.xxx.yyy.57:21...
Status:      Connection established, waiting for welcome message...
Status:      Insecure server, it does not support FTP over TLS.
Status:      Logged in
Status:      Retrieving directory listing...
Status:      Server sent passive reply with unroutable address. Using server address instead.
Command:      MLSD
Error:      Connection timed out after 20 seconds of inactivity
Error:      Failed to retrieve directory listing



Is there a way to tell the client that the session needs to be active only? An output from a testing site

Warning: Plaintext FTP is insecure. You should use explicit FTP over TLS.

Status: Resolving address of us-net-cisco.dynamic-m.com

Status: Connecting to 75.xxx.yyy.57                                                                      <------------------------------ External ISP dynamic address

Warning: The entered address does not resolve to …
0
What is the best way to share a folder on my server (about 30G) with external users via Internet. We need extra users to have access to only that folder.
0
Windows 212 R2
FTP IIS 8

Installed FTP So I can backup my Vcenter Appliance over FTP on my Windows 2012 R2 server.
Is not working.
So I went to FileZilla on my Window 10 Computer it gets this error

Status:      Connecting to 10.12.128.23:21...
Status:      Connection established, waiting for welcome message...
Response:      220 Microsoft FTP Service
Command:      AUTH TLS
Response:      234 AUTH command ok. Expecting TLS Negotiation.
Status:      Initializing TLS...
Error:      GnuTLS error -48: Key usage violation in certificate has been detected.
Error:      Could not connect to server

I created a local user on the Server vcsauser    and added it to the permissions tab of the FTP Site with full control

The windows Firewall is enabled and the only firewall on my internal network
The built in FTP rules were I created when I installed FTP service


I even tried ftps://   same error

I am thinking firewall problem

How about the experts ?

Thanks in advance

Tom
0
Dear Experts

Please can someone assist me with the follow issue.

I have FileZilla setup on a Windows 2016 Server in my data centre. It's behind a firewall.

It’s secured using TLS.

Please see attached sceen shots for all my settings.

Inbound, I have the following ports opened:
20, 21, 50000-50100

Outbound, all ports are opened.

I can connect to my ftp server from external fine using explicit FTP. It connects in passive mode to a random port between 50000 – 50100.

Problem is there is a system that does not support FTPS and must use plain FTP.

I setup another account on the server for this system and specified that its not forced to use TLS.

However when I attempt to connect to the FTP server using this account via plain FTP it enters passive mode however it’s not using the port range specified, 50000 – 50100. So I can login but cannot do the directory listing.
Passive---plain-FTP.png
FTP-over-TLS-settings.png
Passive-mode-settings.png
0
Hello Experts,

I am not having success with a Meraki FTP configuration.

A client needs an anonymous FTP connection for a text file upload every ten minutes.

Is a primitive way to monitor a job.

Anyways, I have the FTP working well internally.

I need it to be accessed from the web.

I m not sure if I need to just port forward to port 21.

Also, do I need a NAT rule as well?

Will I need to use the IP address or the dynamic link address of the Meraki: ftp://ipaddress  or ftp://merakilinkaddress.com 

Do I need to specify a port range in the Meraki NAT rule or Port Forwarding?  

Thank you for your help.
Screenshot-at-2018-07-26-11-07-42.png
0
HI,

I have a Model 9406-170 with OS: V4R4M0

I can login to this system via FTP and navigate to the AS400 library (MFG.PMS) that I want to download files from. I have verified through green screen that the files PMCR06.PGM and PMCR06CL.PGM exist in this library.

My FTP "pwd" command output:
257 "MFG.PMS" is current library

My FTP "ascii" command output:
200 Representation type is ASCII nonprint.

My FTP "get PMCR06.PGM" OR "get PMCR06" command output:
550 File PMCR06 in library MFG.PMS not found.  
550 File PMCR06.PGM in library MFG.PMS not found.

So I attempted FTP command "dir" and get this output:
200 PORT subcommand request successful.
126 Member *ALL not found in file *ALL in library MFG.PMS.
250 List Completed.

NOTE: I ultimately want to do the following via FTP...
1) Start FTP session.
2) Set FTP session to ASCII.
3) Set FTP session to not prompt.
4) Navigate to an AS400 library.
5) Download all files in the library via FTP command mget *
Repeat starting at step 4.

I'm new to the AS400 but not FTP.  Anyone have any tips?  

Thanks!
0
Determine the Perfect Price for Your IT Services
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

I have one access_log under main folder and have to copy that access_log under another folder where external FTP Server can able to download the log automatically.

My Question is Access_log generated in server for Whole day but we need to have only access_log for 15minutes using diff command.

Please let me know the diff command to be used for changing filename automatically everytime once the diff checked between two files.
0
Hi

I need help setting up SFTP on Server 2016 STD.

Can anyone assist me?
0
I have a Red Hat 7.1 server.  I cannot FTP into the RH7.1 server I get a message 530 Login incorrect.
I can receive files if I use FTP from the RH7.1 server but I cannot SEND files from the RH7.1 server.
When attempting to send files from the RH7.1 server a zero length file is put on the receiving server but no data is ever copied to the receiving server and the FTP process on the RH7.1 server hangs.

This is on an internal network with no outside connections so security is not a concern here.
I also tried sftp with no success.

Any suggestions would be greatly appreciated.

TIA,
Dan Kaib
0
Hi,
So I am in the middle of changing a scheduled tasks account that it runs under as the current ones password is changed monthly.
I have added the account to the same groups for permissions as the previous account.

The basics of the script are:
Connect to FTP
Download files
Rename files
Move files
Archive files

Now when i run a test on the script it is for some reason it was unable to see the txt file that connects to the FTP account, i have to edit the command to point the script to the full path location "C:\tempfiles\ftpscript.txt" instead of it previously using "\ftpscript.txt", then it is also downloading the files into my documents and not the directory that it was downloading to before "C:\tempfiles"

It is as if the cmd prompt looks to different locations when run under those different accounts? I am not sure why it is now downloading in that location when it ran fine before. I think the only difference between the 2 accounts are that the previous account was the built in domain admin account and this is a new account we created which is also a domain admin account.

Script below:

:: Download all files via WINSCP
"C:\Program Files (x86)\WinSCP\winscp.com" /script=ftpscript.txt

:: Rename files
cd: "c:\tempfiles"
ren p3de* "temp file1"
ren p3tr* "temp file2"

:: Move files
COPY C:\tempfiles\* \\REMOTESHARE\SHARE\SHARE\*

::Archive files
MOVE "C:\Tempfiles\*.* "C:\tempfiles\archive"

Now so far i have amended the download command to …
0
Has anyone got any recommendations for an FTP client which supports TLS/SSL (not SFTP,) can be automated and can notify via email the log from a download?
0
We have a script that is executing sftp file transfers to a directory on the server, which is running Red Hat Linux.  Is there a way to configure the destination directory so that any file placed there via SFTP will inherit RW-RW-RW permissions?

Thanks in advance for any hints or advice.

-Dan
0

FTP

151

Solutions

293

Contributors

The File Transfer Program (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. Built on a client-server model architecture, it separates control and data connections between the client and the server. Users may access the server through a sign-in protocol, typically in the form of a username and password.