FTP

243

Solutions

433

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 am on a RedHat Linux server.  I have a folder of files that files are being added to every minute or so.  I need a way to FTP these files to another server.  But I need to make sure that I don't try to transfer a file that is currently being written to.  I will be running the FTP script every 15 minutes or so.  What would be the best way to handle this?

Thanks,
Mark
0
Does anyone know what is a "FTPP_FTP_MALFORMED_PARAMETER", I am seeing this in our logs.
0
Hi,
I have e PHP (7.1) for cycle that should run through > 80000 loop, but every time it stops at the very same cycle (5884).
Basically this script fetch some content from a remote FTP, and the does lots of INSERT in mysql database.
I would like to troubleshoot this, any suggestion?
thank you very much!
0
Hello everyone, I am in the process of setting up a mac to a large office scanner but I have given up trying to get the scanner to communicate to it, I have done everything besides FTP. Does anyone have a recommendation free FTP server that I can run on Catalina?
0
Windows FTP on IIS experiencing weird disconnects. VM Runs on AZURE

The FTP is working but if I hit refresh fast a few times, it will eventually say cant connect. Then refresh again and its back.
The real issue is when uploading files and folders, the same result happens and the upload is very slow and logs show a lot of disconnects.


The FTP is setup with local usernames, and has a SSL certificate

We even reconfigured the FTP site in IIS from scratch
Im running out of ideas to check.

Thanks
0
Hi Linux, Network, SFP experts,

could you please suggest, how to restrict a user sftp access

scenario:
Have a linux server
Created a local user "sftpuser" on the Amazon Linux server
Since we just wanted to allow sftp access to a particualar directory
Installed required sftp packages etc and mounted a NAS drive
Now, I can sftp to this host without any issues.

My request is
1. how can I restrict this user "sftpuser" to access only a particular directory (NAS mounted path) with readwrite access
2. Is it possible to give only a readonly access (not write) to a particular directory (NAS mounted path)
3. First time it asks for host confirmation and I have to type yes, then all the subsquent login is fine wihtout prompt. So how to avoid them

kindy please help
0
I'm running RedHat Linux 7.4
Unable to connect to host after host made some changes. I get the error below after running script now.

Connected to host (172.30.6.55).
220 EFT Server 7.3.3.21
503 Invalid sequence of commands (AUTH SSL/TLS required prior to authentication).
503 Bad sequence of commands.
?Invalid command
?Invalid command
?Invalid command
?Invalid command
221 Service closing control connection.
You have new mail in /var/spool/mail/user
[cccc ~]$ /soure/file/path/
Connected to host (xxx.xx.xx.xx).
220 EFT Server 7.3.3.21
503 Invalid sequence of commands (AUTH SSL/TLS required prior to authentication).
503 Bad sequence of commands.


This is the script below:
USER='xxxxxx'
PASSWD='yyyyyyy'
ftp -n -v -p -i host <<END
quote USER $USER
quote PASS $PASSWD
lcd /soure/file/path/
cd "\destination"
bin
mput file pattern*
bye
END
0
Background:
I have a CentOS based server running Plesk control panel
I have 3 FTP users (more actually, but for this example 3 is fine)
I have the following FTP directory structure (which I will # for ease of explanation below:

(1) /FTP/MainFTPDir/
(2) /FTP/MainFTPDir/Dir1/
(3) /FTP/MainFTPDir/Dir1/SubDirA
(4) /FTP/MainFTPDir/Dir1/SubDirB
(5) /FTP/MainFTPDirDir2/
(6) /FTP/MainFTPDirDir3/SubDirA
(7) /FTP/MainFTPDirDir4

The question I have is how to I give an FTP user access to specified directories, (BUT NOT ALL):
Example:
FTP User 1 to have access to (1)(2)(3)(4)(7)
FTP User 2 to have access to (1)(5)(6)(7)
FTP User 3 to have access to (1)(5)(7)

I realize that I can give them access to the main directory, and then they will have access to other directories within, but how to I restrict them to ONLY having access to the sub-directories that I want to give them access to?
0
Any suggestions. Just added a site to site IPSEC tunnel from Cisco ASA running ASDM to a SonicWALL. Successfully got the tunnel live. However cannot reach anything in the cisco network from the SonicWALL. Also there was an existing Cisco AnyConnect SSL-VPN that was working and still connects. However that VPN can also no longer access anything in the network. So seems like a NAT issue or maybe an issue with the ACL? Strange that all the VPNs connect but can get to anything in the inside network... See the running-config below


ASA Version 8.6(1)
!
hostname xxxxxx-ASA
domain-name xxxxxxx.local
enable password xxxxxx
passwd xxxxxx
names
!
interface GigabitEthernet0/0
 description To Switch 1
 channel-group 1 mode on
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/1
 description To Switch 2
 channel-group 1 mode on
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/2
 description LAN Failover Interface
!
interface GigabitEthernet0/3
 no nameif
 no security-level
 no ip address
!
interface GigabitEthernet0/4
 description To TWC
 nameif Outside
 security-level 0
 ip address 47.23.x.x 255.255.255.248 standby 47.23.x.x
!
interface GigabitEthernet0/5
 description To VZW
 nameif Backup
 security-level 0
 ip address 10.1.1.2 255.255.255.248 standby 10.1.1.3
!
interface Management0/0
 shutdown
 no nameif
 no security-level
 no ip address
 management-only
!
interface Port-channel1
 …
0
I have it all installed and configured with a certificate but I cant seem to get  to a directory listing point. I haven't set one of these up since server 2003 so I'm a bit lost. It doesn't seem like there is much to it. I have ports 21 and 22 forwarded in the router and the Server firewall is off. Are there more ports I need to configure/open?
0
Hello Experts,

I work for Company A who has recently entered a partnership with Company B to provide outsourced services.

Both Company A and Company B have completely separate AD Domains/Forests but have recently had dedicated WAN links deployed to provide "non-public" connectivity.

We have a requirement to share specific data folders, but there's a hesitancy to expose SMB/CIFS shares to mitigate the potential propagation of malware and limit other compliance considerations.

I was thinking that some kind of Managed File Transfer solution that would work in a similar fashion to DFS-R (and provide near real time replication) may be a suitable route forward, and would only require the use of port 22.

Do you agree that this is a reasonable approach?

Can you suggest any potential solutions that would fulfil the requirements?

Or, I'm open to suggestions for alternative solutions.

Any advice gratefully received.

Regards

A
0
hi am not able to connect to my via ftp but i can ping my vm am using winscp my vm is in linux ubuntu my host is window 10
host
0
Setup FTP server in Windows 2012 R2 and completed the configuration successfully. But when I type ftp://192.168.1.10 from a workstation on the same network, I get an error "This page cannot be displayed" Please help!!!
0
Hello,
We're migrating our website www.tiedemannglobe.com from one server to another. The last provider suspended our account and on entering the site through the browser, I got a page that said "Account suspended".
I changed the DNS in Godaddy, specifically, the Name Server to the DNS I have in WHM for the new server, and the host names to the new IP.
The DNS changes seem to have deployed already, because when I enter the website now, I can see, with the IP check plugin of my browser, that the IP for the site is that of our new server, but I still get the "Account suspended" error instead of the content I uploaded to the server via FTP. What am I missing?
0
Hi,
I have a file I'm retrieving via ftp in laravel from a 3rd party who provides it as pipe-delimited. I can get and store the file fine.. but I need to open it and convert the pipes to a comma-delimited file and save the changes.

Any idea how to accomplish this?

Small sample chunk of the file is:

ADID |CompanyID|CompanyName|Category |StockNumber|Vin |Status |Year |Make | Model |Trim |KMS |Exterior Color |Mfg Exterior Color | Interior Color | FuelType |Drive |Engine Size |Transmission |Doors |Passenger |Cylinder |Body |Price |HidePrice |Options |AdDescription | FinancingIsAvailable | FinancingPayment |FinancingPaymentType | FinancingNumberOfPayment |FinancingDownPayment | FinancingSource |FinancingType | FinancingOdometer |FinancingDescription |ManufactureProgram |Warranty |WarrantyDescription | MainPhoto |OtherPhoto|ModifiedDate|CreatedDate
43686979|20046119910706|Johns Volkswagen|"Sport Utility"|V59201PC...... 

Open in new window

0
Hello,
 I have two ASA 5525-X firewalls (in HA configuration) with Firepower. I'm asking for help on whether we'd be able to establish Traffic Shaping to guarantee bandwidth for FTP traffic.  We have a 1Gb connection recently added and would like to guarantee 900Mbs for FTP when needed, but allow other traffic to utilize the connection otherwise.
0
Hello there,

I am missing features in IIS for FTP and I'm not sure why. I installed the FTP Server role and restarted the server. I can create FTP sites but in the features pane, all I can see is FTP Directory Browsing under FTP. There's supposed to be way more features. I'm running IIS 10 on Server 2016.

My actual goal is to create an SFTP that people can access externally but I need these features in order to do this right.
0
I'm using ftps for the file transfer. I'm not able to access the ftp. Here is the log

#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2019-06-25 13:15:48
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem sc-status sc-win32-status sc-substatus x-session x-fullpath
2019-06-25 13:19:12 192.168.1.1 - 192.168.1.1 1980 ControlChannelOpened - - 0 0 122e06a0-da11-411e-b840-d5de6952e357 -
2019-06-25 13:19:12 192.168.1.1 - 192.168.1.1 1980 USER sr 534 5 25 122e06a0-da11-411e-b840-d5de6952e357 -
2019-06-25 13:19:12 192.168.1.1 - 192.168.1.1 1980 QUIT - 221 0 0 122e06a0-da11-411e-b840-d5de6952e357 -
2019-06-25 13:19:12 192.168.1.1 - 192.168.1.1 1980 ControlChannelClosed - - 0 0 122e06a0-da11-411e-b840-d5de6952e357 -

Here is the screenshot of the settings:
authauthorizfirewallssluser-info
0
I am working on a Windows Server 2012 R2 machine (virtual) that has a need to upload FTP files (ASCII) to a site as part of a backend system; this occurs as part of a batch file. What we are finding is happening is that the ftp connection gets established but when it tries to upload the file, it hangs and times out. If I turn off the Windows firewall, it works fine.

So I added exceptions in the firewall for the FTP program (inbound and outbound) and it still hangs. Can anyone help me figure out what the right path is to figure this out? Thanks!
0
Hi,

Hope somebody could help us with this issue..

We recently purchased a 5506-X firewall to add to our existing network. We work in a shared office environment and the IT department provided us with a Static IP for (outside) configuration of the firewall. In order to have access to the internet in our network environment we must authorize devices by MAC address. I have tested the outside IP on my laptop and was able to connect to the internet from the uplink provided to me.

We have followed all the steps necessary to setup the 5506-x firewall but cannot seem to get internet access. Also, we have allowed the mac address of each interface on the 5506-x to have access to the network.

Maybe we missed something and someone could help guide us in the right direction. We followed the instructions here but still know luck.

Below is the show configuration log...

 Saved

:
: Serial Number: JAD22310EK4
: Hardware:   ASA5506, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)
: Written by enable_15 at 18:30:29.659 UTC Tue Jun 11 2019
!
ASA Version 9.8(2)
!
hostname AI-Firewall
enable password $sha512$5000$oN0ERX19wEcf1sA20aNprA==$h4DD3XDf1aAxawHyqyjPYQ== pbkdf2
names
ip local pool AI-Pool 10.222.222.100-10.222.222.120 mask 255.255.255.0

!
interface GigabitEthernet1/1
 nameif outside
 security-level 0
 ip address 67.71.213.166 255.255.255.252
!
interface GigabitEthernet1/2
 bridge-group 1
 nameif inside_1
 security-level 100
!
0
I am trying to establish an FTP connection between client and server.  I am able to run FTP between the client and server within local network behind NAT router as shown in config A in attached file(FTP config). I have problem establishing the data connection when running the client and server in two different networks as shown in config B.

The error message displayed in the client window and the FileZilla network configuration result is shown in the attached file(ftp problem).
The client is connected through a mobile hotspot and the server is connected to a wifi network.
I have control over the wifi router where I have configured the port forwarding.
FTP-Config.pptx
FTP-problem.PNG
0
HI,
I have a following piece of code :
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.google.inject.name.Named;
import com.jcraft.jsch.ChannelSftp;
import com.jcraft.jsch.SftpException;
import in.zeta.sftp.client.SftpCommandService;
import in.zeta.sftp.client.SftpSessionManager;
import in.zeta.spectra.capture.SpectraLogger;
import io.netty.channel.ChannelException;
import olympus.trace.OlympusSpectra;

import java.io.InputStream;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;
import java.util.concurrent.CompletionStage;

import static java.util.concurrent.CompletableFuture.completedFuture;
import static olympus.message.util.CompletableFutures.unwrapCompletionStateException;

@Singleton
public class UserDocsSftpHelper {
  private static final int timeoutMillis = 20000;

  private final SftpSessionManager sessionManager;
  private final CompletionStage<Void> sessionManagerInit;
  private final SftpCommandService sftpCommandService;
  private final SpectraLogger logger = OlympusSpectra.getLogger(this.getClass());

  @Inject
  public UserDocsSftpHelper(@Named("rbl.docs.sftp.manager") SftpSessionManager sessionManager) {
    this.sessionManager = sessionManager;
    this.sessionManagerInit = sessionManager.init();
    this.sftpCommandService = new SftpCommandService(20);
  }

  public CompletionStage<Void> createDirectoryIfNotPresent(String directoryPath) {
    CompletableFuture<ChannelSftp> 

Open in new window

0
Hi,
What is the best way to create a secure FTP for a company ?
0
Hi,
I am trying to connect to an SFTP server and here is the output :

sftp -o KexAlgorithms=diffie-hellman-group16-sha512 -o MACs=hmac-sha2-512 -P 22
40 -i portalKey user@safar.xyz.com

EFT Login - %DATE% %TIME% - Please enter valid credentials to continueConnected to safar.xyz.com
sftp>
sftp> ls
ZETA

I am able to connect but once i entered credentials it just hangs in "EFT Login - %DATE% %TIME% - Please enter valid credentials to continue" this and had to press enter move forward
Now here i am connecting with a key and there is no need for valid credentials. Also i dont enter anything...just pressing enter does the job.
Why could this be happening ?

Thanks
0
Hello everyone,


I have a Cisco ASA 5516 with two inside interfaces. One is for customer LAN and another is for a few branch offices connected via a router that is connected to the 2nd Inside interface (All those offices are in the same building connected by a FO backbone. Customer is going to replace an old ASA 5510 where almost the same config already works.  

LAN network is 192.168.0.0/24 connected to 1/3 on ASA

Branch Offices are connected to 192.168.2.0/24 connected to 1/4 on ASA
 
I want to be able to ping and have unrestricted traffic between them.

Currently I have a laptop connected to int 1/3 and another one connected to Int 1/4 but no ping.

Someone please help!

Here's the configuration

ASA Version 9.8(2)17
!
hostname ASAFCHFW
domain-name mydomain.com
enable password $sha512$5000$pt2nRGQbSXA8K3vdow+Ztg==$kGNfDJREqQCQ+jO7m0bxmQ== pbkdf2
names
no mac-address auto

!
interface GigabitEthernet1/1
nameif Outside
security-level 0
ip address x.x.x.131 255.255.255.240
!
interface GigabitEthernet1/2
nameif DMZ
security-level 10
ip address 172.16.31.1 255.255.255.240
!
interface GigabitEthernet1/3
nameif Inside
security-level 100
ip address 192.168.0.2 255.255.255.0
!
interface GigabitEthernet1/4
nameif Branch_Office
security-level 100
ip address 192.168.2.1 255.255.255.0
!
interface GigabitEthernet1/5
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet1/6
shutdown
no nameif
no …
0

FTP

243

Solutions

433

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.

Top Experts In
FTP
<
Monthly
>